package demo2;

import java.io.FileWriter;
import java.io.IOException;
import java.io.Writer;
import java.util.concurrent.locks.ReentrantReadWriteLock;

public class DEMO_06 {
    public static void main(String[] args) throws IOException {
        Writer writer = new FileWriter("d:/temp/text2.txt");

        writer.write(49);
        writer.write(50);
        writer.write(51);
        writer.write(13);
        writer.write(10);
        writer.write(25105);
        writer.flush();
        writer.close();
    }
}
